import { Column, CreateDateColumn, Entity, PrimaryGeneratedColumn } from 'typeorm';

@Entity()
export class UserStore {
  @PrimaryGeneratedColumn()
  id: number;
  @Column({
    type: 'int',
  })
  storyId: number;

  @Column({
    type: 'int',
  })
  userId: number;
  @CreateDateColumn()
  createdAt: Date;
}
